package com.brother.database;

import java.sql.Connection;

public class TreadLocalConn {
	private static ThreadLocal<Connection> threadConn = new ThreadLocal<Connection>();
	public void setConnection(Connection conn){
		threadConn.set(conn);
	}
	public Connection getConn(){
		return threadConn.get();
	}
}
